package com.cxrj.zhsq.userManage.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.userManage.entity.Organization;

public interface OrganizationService {
	List<Map<String, Object>> selectOrganizationTree(Map<String, Object> map);

	Map<String, Object> selectOrganizationCode(Map<String, Object> map);

	void insertOrganization(Organization organization);

	void updateOrganization(Map<String, Object> map);

	void deleteOrganization(Map<String, Object> map);

	Map<String, Object> selectTopOrganization();

	List<Map<String, Object>> selectOrganizationTreeNum(Map<String, Object> map);

	Map<String, Object> selectCommunityList(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectAllCommunityList();
	
	Map<String, Object> selectAllCommunityByName(String name);
}
